<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<link href="css/uni-form.css" media="screen" rel="stylesheet"/>
    <link href="css/demo.css" media="screen" rel="stylesheet"/>
    <link href="css/default.uni-form.css" id="formStyle" title="Default Style" media="screen" rel="stylesheet"/>
</head>
<body>
	 <form action="saveUser" class="uniForm">
      
      <fieldset>
        <h3><s:text name="editUser.title"/></h3>
        
        <div class="ctrlHolder">
          <label ><s:text name="editUser.loginID" /></label>
          
          <s:textfield cssClass="textInput small" name="editUser.loginName" disabled=""></s:textfield>
          
        </div>
        
        <div class="ctrlHolder">
          <label ><s:text name="editUser.userName" /></label>
          
          <s:textfield cssClass="textInput small" name="editUser.userName"></s:textfield>
          
        </div>
        
        
        <div class="ctrlHolder">
          <label ><s:text name="editUser.password" /></label>
          
          <s:password cssClass="textInput small" name="editUser.password"></s:password>
          
        </div>
        
        <div class="ctrlHolder">
          <label ><s:text name="editUser.re_password" /></label>
          
          <s:password cssClass="textInput small" ></s:password>
          
        </div>
        
        <div class="ctrlHolder">
          <label ><s:text name="editUser.userRole" /></label>
          
          
          <s:select list="roleList" name="userRole"></s:select>         
          
        </div>
        
         <div class="ctrlHolder">
          <label ><s:text name="eMail" /></label>
          
          <s:textfield cssClass="textInput small" name="editUser.eMail" ></s:textfield>
          
        </div>
        
        <div class="ctrlHolder">
          <label ><s:text name="userType" /></label>
          
          
          <s:select list="#{'C':getText('userTypeOption.customer'),'S':getText('userTypeOption.systemUser')}" name="editUser.userType"></s:select>         
          
        </div>
        
        
        
      </fieldset>

      <div class="buttonHolder">
       
        <button type="submit" class="primaryAction"><s:text name="save" /></button>
         
      </div>

    </form>
</body>
</html>